package com.eshop.eshop2021_v1.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author: 若若叶
 * @date: 2021/10/13 11:12 FileName: Cart Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart {
  private Integer cartId;
  private Integer goodId;
  private Integer userId;
  private Integer num;
  private BigDecimal totalPrice;

  @TableField(exist = false)
  private Goods goods;
}
